package com.frain.springcloud.provide;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * @ClassName: ProvideNoEurekaInterface 
 * @Description: 用于调用远程api 
 * @author lenovo
 * @date 2018年8月4日 下午11:52:21 
 *
 */
@FeignClient(name = "baiduApi", url = "http://localhost:3000/springapi")
public interface ProvideNoEurekaInterface {

    @RequestMapping("/testApi/getString")
    public String getString();

}
